package com.kyl.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 退住账单实体类
 *
 * @author WanJl
 */
@Data
@ApiModel(value = "退住账单实体类", description="对应数据库中退住账单表结构")
public class RetreatBill implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    private Long id;

    /**
     * 账单json数据
     */
    @ApiModelProperty(value = "账单json数据")
    private String billJson;

    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private Long createBy;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    /**
     * 老人ID
     */
    @ApiModelProperty(value = "老人ID")
    private Long elderId;

    /**
     * 是否退款
     */
    @ApiModelProperty(value = "是否退款")
    private Integer isRefund;

    /**
     * 退款金额
     */
    @ApiModelProperty(value = "退款金额")
    private BigDecimal refundAmount;

    /**
     * 退款凭证URL
     */
    @ApiModelProperty(value = "退款凭证URL")
    private String refundVoucherUrl;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;

    /**
     * 退住id
     */
    @ApiModelProperty(value = "退住id")
    private Long retreatId;

    /**
     * 支付渠道
     */
    @ApiModelProperty(value = "支付渠道")
    private String tradingChannel;

    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private Long updateBy;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;


}
